﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.WindowsAzure;
using Microsoft.WindowsAzure.StorageClient;


namespace LogViewApp.Web
{
    public class LogFileDataContext : TableServiceContext
    {
        public LogFileDataContext(string baseAddress, StorageCredentials credentials)
            : base(baseAddress, credentials)
        {
        }

        public IQueryable<LogXmlEntry> LogXmlEntries
        {
            get
            {
                
                return this.CreateQuery<LogXmlEntry>("LogXmlEntry");
            }
        }
    }
}
